/**
 * @author caesar
 * @date 2025/6/30
 * @apiNote
 */
/*
请用循环输出如下数字三角形
1
12
123
1234
12345
*/
public class homework2_1 {
    public static void main(String[] args) {
        for (int i = 1; i <= 5; i++) {
            for (int j = 1; j <= i; j++) {
                System.out.print(j);
            }
            System.out.println();
        }
    }
}
